package com.csu.service;

import com.csu.entiry.BorrowInfo;

import java.util.List;

public interface BorrowInfoService {
    List<BorrowInfo> getBorrowInfoList (int current, int size, String key);
    int getTotal(int current, int size, String key);
    boolean addInfo(BorrowInfo borrowInfo);
    boolean removeInfo(int borrowId);
    boolean updateInfo(BorrowInfo borrowInfo);
    BorrowInfo getByBorrowId(int borrowId);

    List<BorrowInfo> searchListByKey(String key);
}
